Skip to content

chore(widgets) props should be types rather than interfaces - #9333

Merged
chrisgervang merged 4 commits into
masterfrom
chr/widget-prop-types
Jan 7, 2025
Merged

chore(widgets) props should be types rather than interfaces#9333
chrisgervang merged 4 commits into
masterfrom
chr/widget-prop-types

Conversation

@chrisgervang

Copy link
Copy Markdown
Collaborator

For #9304 (comment)

Background

Change prop types to type. Interfaces are meant for defining a class interface (with methods to implement) and type for defining an object's structure.

Change List

  • exported widget prop types (as type)
  • docs

@coveralls

coveralls commented Jan 6, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 91.706% (+0.001%) from 91.705%
when pulling 6a08b0f on chr/widget-prop-types
into 401416f on master.

Comment thread docs/api-reference/core/widget.md Outdated
chrisgervang and others added 2 commits January 7, 2025 08:05
Co-authored-by: felixpalmer <felixpalmer@gmail.com>
@chrisgervang
chrisgervang merged commit e3533e0 into master Jan 7, 2025
@chrisgervang chrisgervang mentioned this pull request Jan 9, 2025
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants